package com.weic.manager.article.service;

import com.weic.manager.article.mapper.ExpertArticleVOMapper;
import com.weic.manager.service.BaseService;
import com.weic.manager.vo.ExpertArticleVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 文章Service类
 */
@Service
public class ExpertArticleService extends BaseService {
    @Autowired
    ExpertArticleVOMapper expertArticleVOMapper;

    public int insert(ExpertArticleVO record){
        return expertArticleVOMapper.insert(record);
    };

    public int insertSelective(ExpertArticleVO record){
        return expertArticleVOMapper.insertSelective(record);
    };

    public ExpertArticleVO selectByPK(String pk){
        return expertArticleVOMapper.selectByPK(pk);
    };
}
